package com.ruoyi.prevention.segregater.mapper;

import java.util.List;
import com.ruoyi.prevention.segregater.domain.Segregater;

/**
 * 隔离人员信息Mapper接口
 * 
 * @author wad
 * @date 2022-04-06
 */
public interface SegregaterMapper 
{
    /**
     * 查询隔离人员信息
     * 
     * @param segreId 隔离人员信息主键
     * @return 隔离人员信息
     */
    public Segregater selectSegregaterBySegreId(Long segreId);

    /**
     * 查询隔离人员信息列表
     * 
     * @param segregater 隔离人员信息
     * @return 隔离人员信息集合
     */
    public List<Segregater> selectSegregaterList(Segregater segregater);

    List<Segregater> selectSegregaterList2(Segregater segregater);

    /**
     * 新增隔离人员信息
     * 
     * @param segregater 隔离人员信息
     * @return 结果
     */
    public int insertSegregater(Segregater segregater);

    /**
     * 修改隔离人员信息
     * 
     * @param segregater 隔离人员信息
     * @return 结果
     */
    public int updateSegregater(Segregater segregater);

    /**
     * 删除隔离人员信息
     * 
     * @param segreId 隔离人员信息主键
     * @return 结果
     */
    public int deleteSegregaterBySegreId(Long segreId);

    /**
     * 批量删除隔离人员信息
     * 
     * @param segreIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSegregaterBySegreIds(Long[] segreIds);

    /**
     * 根据隔离人员姓名获得隔离人员信息
     * @param segreName
     * @return
     */
    public Segregater selectSegregaterBySegreName(String segreName);

    /**
     * 导入隔离人员信息
     * @param user
     */
    void insertImportSergregater(Segregater user);

    List<Integer> count5();
    Integer count6();
    Integer count7();
    Integer count8();
}
